﻿@if (Request.IsAuthenticated)
{
    <div>
        <span class="ui-icon ui-icon-person" style="float: left; margin-right: .3em;"></span>
        Welcome <b>@User.Identity.Name </b>!</div>
    <br />
    <div>
        <span class="ui-icon ui-icon-locked" style="float: left; margin-right: .3em;"></span>
        @Html.ActionLink("Log Off", "LogOff", "Account")</div>
}
else
{
    <div>
        <span class="ui-icon ui-icon-unlocked" style="float: left; margin-right: .3em;">
        </span>@Html.ActionLink("Log On", "LogOn", "Account")</div>
}